/** 设置数据相关 */
import request from '@/utils/request'

// 更新位置
export function setPosition(data) {
	return request({
		url: '/technicianapp/Index/positionUpdate',
		method: 'post',
		data
	})
}


// 签到
export function signIn(data) {
	return request({
		url: '/technicianapp/Index/signIn',
		method: 'post',
		data
	})
}

// 设置工作状态
export function setWorkStatus(params) {
	return request({
		url: '/technicianapp/Index/set_field',
		method: 'get',
		params
	})
}
// 设置接单时间
export function setWorkTime(data) {
	return request({
		url: '/technicianapp/Index/setBusyHour',
		method: 'post',
		data
	})
}
